Manager: Text Services Manager
Carbon supports nearly all Text Services Manager functions. The exceptions are those functions, such as NewServiceWindow and CloseServiceWindow, used to create and manage floating utility windows. If you have a TSM component that uses floating utility windows, you should replace these functions with equivalent Mac OS 8.5 Window Manager functions, which offer more complete support for creating and managing floating windows.
For example, instead of the NewServiceWindow function, you can use the Window Manager function CreateNewWindow, and specify either kFloatingWindowClass or kUtilityWindowClass.
Likewise, use DisposeWindow instead of CloseServiceWindow, GetFrontWindowOfClass instead of GetFrontServiceWindow, and FindWindowOfClass instead of FindServiceWindow.
Finally, the TSMEvent, TSMMenuSelect, and SetTSMCursor functions no longer need to be called, so they are not included in Carbon.
ActivateTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
ActivateTSMDocument
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
CloseServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to CloseServiceWindow with calls to the Window Manager function DisposeWindow. Not available in Carbon.
CloseTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
CloseTSMAwareApplication
Not needed in Mac OS X due to the new event model. Not available in Carbon.
DeactivateTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
DeactivateTSMDocument
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
DeleteTSMDocument
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
FindServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to FindServiceWindow with calls to the Window Manager function FindWindow. Not available in Carbon.
FixTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
FixTSMDocument
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetDefaultInputMethod
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetFrontServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow. Not available in Carbon.
GetScriptLanguageSupport
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetServiceList
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetTextServiceLanguage
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetTextServiceMenu
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
GetTextServiceProperty
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
HidePaletteWindows
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
InitiateTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
InitTSMAwareApplication
Not needed in Mac OS X due to the new event model. Not available in Carbon.
NewCServiceWindow
Replace calls to NewCServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.
NewServiceWindow
Replace calls to NewServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.
NewTSMDocument
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
OpenTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SendAEFromTSMComponent
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SetDefaultInputMethod
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SetTextServiceCursor
Not available in Carbon.
SetTextServiceLanguage
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SetTextServiceProperty
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
SetTSMCursor
Not needed in Mac OS X due to the new event model. Not available in Carbon.
TerminateTextService
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
TextServiceEvent
Not available in Carbon.
TextServiceEventRef
Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.
TextServiceMenuSelect
Not available in Carbon.
TSMEvent
Not needed in Mac OS X due to the new event model. Not available in Carbon.
TSMMenuSelect
Not needed in Mac OS X due to the new event model. Not available in Carbon.
UCTextServiceEvent
This function isn't useful. Not available in Carbon.
UCTextServiceEventRef
This function isn't useful.
UseInputWindow
Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
[Table of Contents] [Manager Index] [Function Index]
Generated on: 5/11/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.